package tt.com.feesmanager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import tt.com.common.enums.Status;
import tt.com.common.model.DeadProject;
import tt.com.common.util.CommonResult;
import tt.com.feesmanager.mapper.DeadprojectMapper;
import tt.com.feesmanager.service.ProcessApproval;

@Service
public class ProcessApprovalImpl extends ServiceImpl<DeadprojectMapper, DeadProject> implements ProcessApproval {
    @Override
    public CommonResult ProcessApproval(DeadProject deadProject) {
        if (deadProject!=null){
            return CommonResult.buildR(Status.OK,"允许使用优惠减免");
        }else
            return  CommonResult.buildR(Status.DEFAULT,"不允许使用优惠减免");
    }
}
